Storage system and method for data transfer between storage systems

ABSTRACT

There is realized a storage system which can reduce the limitation of a device number used by a host CPU at the time of duplexing data. A micro processor of a source external storage controller unit unifies a plurality of write data received from the host CPU to the same data bus to provide one unit of data transmitting to a target storage system. A number not dependent on the device number used when the host CPU specifies a device is allocated to this. Then, the source external storage controller unit sends the write data to the target external storage controller unit. This can receive/send the data without depending on the target specifying device number.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a storage system connected to a host CPU and more specifically to a storage system connected to a host CPU for writing data received from the host CPU into another storage system.

[0003] 2. Description of the Prior Art

[0004] As a method for holding data used in a host CPU in a plurality of external storage device units, there is generally employed a method comprising providing source and target external storage device units holding the same data below different external storage controller units, connecting the external storage controller units not through a host CPU, and issuing by the source external storage controller unit a write request in the source external storage controller unit received from the host CPU to the target external storage controller unit so as to coincide data of the source and target external storage device units.

[0005] In this case, when the source external storage controller unit issues the write request to the target external storage controller unit, in order to identify transfer to the target external storage controller unit, a device number (a number or identifier for identifying a target logical volume) used when the host CPU issues the write request into the external storage device unit is employed directly.

[0006] On the other hand, with an increase in data processing amount in recent years, data write performance to a source external storage device unit has been required to be improved to a write request from a host CPU. As a technique related to this, there is means for performing a plurality of input/output processes to one device at the same time. Only one input/output process to one device is performed originally, and thus, a plurality of input/output processes cannot be done at the same time. Here, a device number different from the original device number is used to one device which becomes apparently a device virtually different to the write request issuer, thereby realizing multiple processing to one device.

[0007] Corresponding to the multiple processing, when the source external storage controller unit issues a write request to the target external storage device unit, a device number different from the original device number is used directly.

SUMMARY OF THE INVENTION

[0008] In the above-mentioned prior art, data input/output processing for each device is a conventionally used method by an input/output interface with the OS of a host CPU. Thus, it is effective in an aspect of holding compatibility between the source and target external storage controller units.

[0009] However, since a plurality of input/output processes are performed to one device at the same time, a device number different from the original device number is used to cause the following state in write transfer between the source and target external storage controller units. This will be described below.

[0010] A method for defining a device number different from the original device number to the same device permits multiple processing to one device, but consumes an excess device number. In other words, since the number of devices definable is finite, the substantial number of devices definable is reduced by a different device number defined. Use of the excess device number is true for write request transfer between the source and target external storage controller units. Further, in addition to the write request transfer, the transfer between the source and target external storage controller units must control the transfer and send/receive information for controlling the relation of duplexing itself between the source and target external storage controller units. This transfer needs a device number and, if possible, it is desirable to avoid consumption of an excess device number.

[0011] Furthermore, in transfer of a write request to the target external storage controller unit, a plurality of data of different target devices are processed for each device. Overhead for transfer of the transfer or reception process is caused in the respective transfer processes, resulting in lowering of performance.

[0012] An object of the present invention is to provide a transfer technique of write data from a source external storage controller unit to a target external storage controller unit in which in a process of writing the write data received from a host CPU into an external storage device unit below the target external storage controller unit, multiple processing is performed to one device so as not to be dependent on a device number thereof.

[0013] Another object of the present invention is to provide a technique for reducing overhead for transfer in which in a process of writing write data received from a host CPU into an external storage device unit below a target external storage controller unit, a target device is different.

[0014] The foregoing object is achieved so that a plurality of write data received from the host CPU to the same device are unified to one unit of data transmitting to the target storage system, a number not dependent on the device number used when the host CPU specifies a device is allocated to this, and the source external storage controller unit sends write data to the target external storage controller unit.

[0015] The foregoing another object is achieved so that a plurality of write data received from the host CPU to a different device are unified to one unit of data transmitting to the target storage system, and the source external storage controller unit sends write data to the target external storage controller unit.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016]FIG. 1 shows one example of the construction of a data processing system;

[0017]FIG. 2 shows a table managing information on write data;

[0018]FIG. 3 shows one example of scheduling processing;

[0019]FIG. 4 shows a specific example of the scheduling processing;

[0020]FIG. 5 shows a specific example of the scheduling processing; and

[0021]FIG. 6 shows a specific example of data write in a remote disk unit.

DETAILED DESCRIPTION OF THE INVENTION

[0022] Embodiments of the present invention will be described in detail hereinbelow with reference to the drawings.

[0023]FIG. 1 shows an example of the construction of a data processing system embodied by the present invention. The data processing system of the embodiment has a host CPU 1, a source storage subsystem having a master disk unit 3 for storing data from the host CPU and a master disk controller unit 2 for controlling the same, and a target storage subsystem having a remote disk unit 5 for storing duplicated data stored in the master disk unit and a remote disk controller unit 4 for controlling the same. The write data from the host CPU 1 is stored on a logical volume formed on the disk unit corresponding to a logical device number specified from the host CPU at writing.

[0024] The master disk controller unit 2 includes a fiber channel port 6 for sending and receiving data to/from the host CPU, a micro processor 7 for controlling the controller unit, a cache memory 9 for temporality storing data from the host CPU, and a channel port 11 as a communication port to the target storage subsystem. The remote disk controller unit 4 has a microprocessor 8 for controlling the controller unit, a channel port 12 as a port for communication with the source storage subsystem, and a cache memory 10 for temporarily storing data received through the channel port. The host CPU 1 and the fiber channel port 6 of the master disk controller unit 2 are connected through an interface cable 13. The channel port 11 of the master disk controller unit 2 and the channel port 12 of the remote disk controller unit 4 are connected through an interface cable 14. The interface cable 14 may be an optional information connection network, for example, SAN (Storage Area Network) or a fiber channel.

[0025] The microprocessor 7 of the master disk controller unit 2 has means of a section 15 of processing data from host CPU, a section 16 of scheduling data, and a section 17 of transmitting data to the target storage system. These three processing means are functional blocks realized by a micro program executed by the microprocessor 7. The respective operating processes will be described later. The micro processor 8 of the remote disk controller unit 4 includes a section 21 of processing data from the source storage system and a section 24 of writing data to disk drive. These two processing means 21 and 24 are functional blocks realized by a micro program executed by the microprocessor 8 incorporated by the remote disk controller unit.

[0026] With FIG. 1, the operating processing will be described in detail. The section 15 of processing data from host CPU receives write data 20 instructed from the host CPU 1, and creates in the cache memory 9 one piece of data control information 19 to one piece of the write data 20, thereby managing the same as a queue 18 and storing the same into the cache memory. The data control information 19 will be described later. The write data 20 is stored into the cache memory 9, and then, is written into a target device (logical volume) of the master disk unit 3 asynchronous to the timing at which the write data received from the host CPU. The data control information 19 will be described here. The data control information is related to the write data 20 instructed from the host CPU 1 that in what device or in what position thereof the write data is written. As illustrated in FIG. 2, the data control information has information on a pointer 19 a to the position of the write data stored onto the cache memory, a target device number 19 b as an identifier for identifying a target logical volume, a target cylinder number 19 c, a target head number 19 d, a target record number 19 e, and a write data size 19 f.

[0027] The section 16 of scheduling data checks the data control information 19 stored into the queue 18 in the cache memory 9 to judge the presence or absence of the write data 20. When the write data 20 is present, a plurality of pieces of the data control information 19 are fetched to be unified as one unit of data transmitting to the target storage system. FIG. 3 shows its example. Data control information 91 a of write data to a logical volume identified by a device number 0, data control information 91 b of write data to a logical volume identified by a device number 1, and data control information 91 c of write data to a logical volume identified by a device number 2 are unified to a unit 92 a of data transmitting to the target storage system which has a number manage system different from the manage system having the device number used when the host CPU accesses a logical volume, that is, which has a device number 0 not dependent on the device number used when the host CPU accesses a logical volume. In addition, data control information 91 d of write data to a device number 0 and data control information 91 e of write data to a device number 1 are unified to a unit 92 b of data transmitting to the target storage system which has a number manage system different from the manage system having the device number used when the host CPU accesses a logical volume, that is, which has a device number 1 not dependent on the device number used when the host CPU accesses a logical volume. In other words, they are unified irrespective of the device number specified by the host CPU.

[0028] To change the view, a plurality of write data 20 received from the host CPU 1 are fetched sequentially from the cache to be allocated to each unit of data transmitting to the target storage system as a collection of data irrespective of the device specified by the host CPU 1, thereby being passed to the target external storage controller unit 4 by the section 17 of transmitting data to the target storage system.

[0029] In this way, a plurality of write data transferred from the master disk controller unit to the remote disk controller unit are unified to one. In addition, an identifier constructed of a number manage system different from the manage system of the device number used when the host CPU accesses a logical volume is allocated to the unified data as an identifier for identification used when sending the data from the master disk controller unit to the remote disk controller unit. The device number of the number manage system used when the host CPU accesses a logical volume is used directly when sending the data from the master disk controller unit to the remote disk controller unit. AS compared with this, the number of the identifiers for identification used when sending the data from the master disk controller unit to the remote disk controller unit can be enough. As a result, the identifier used when the write data from the host CPU is transferred to the remote disk controller unit can be secured, and the identifier for sending control data for transfer control can be easily ensured, whereby transfer control the master disk controller unit to the remote disk controller unit is easy.

[0030] This will be described specifically by the example of FIG. 3. Three device numbers used when the host CPU accesses a logical volume are “0, 1 and 2”. The numbers are used directly as the identifier when sending the data from the master disk controller unit to the remote disk controller. In this case, all the three device numbers “0, 1, and 2” are used to send the data to the remote disk controller unit. The identifier used to transfer data for transfer control cannot be secured, and thus, the data for transfer control cannot be transferred. Here, in application of the present invention, when the identifiers for transfer can use only three numbers 0, 1 and 2, only the device numbers 0 and 1 are used for data transfer, so that the device number 2 can be used for transferring data for control.

[0031] In FIG. 3, the device number is used as the identifier for unit of data transmitting to the target storage system. The device number is used when the storage controller unit manages a data processing target as a device. The device number may be any simple number or identifier which can identify the unit of data transmitting to the target storage system. When the device number is used, the controlling method of the storage controller unit is similar to that of the prior art, and its introduction is easy. When using a region for a device number similar to that of the prior art, the number thereof is limited. Conversely, when a region to manage the device number is extended, the number limitation is reduced.

[0032] The section 17 of transmitting data to the target storage system performs transfer-processing the above-mentioned units 92 a and 92 b of data transmitting to the target storage system and the write data corresponding to the respective data control information unifying the units of data transmitting to the target storage system, as one piece of transfer data for each unit of data transmitting to the target storage system.

[0033] The data transferred through the channel port 11 between master and remote disk controller units and the channel port 12 between master and remote disk controller units are divided into data control information 22 and write data 23 by the section 21 of processing data from the source storage system, which are then stored into the cache memory 10. The write data 23 stored into the cache memory is written, by the section 24 of writing data to disk drive, into a target device in the remote disk unit 5 asynchronous to the timing receiving the data transferred with reference to the device number in the data control information 22.

[0034]FIGS. 4 and 5 show specific scheduling examples.

[0035]FIG. 4 is a scheduling example for multiplexing of data transfer. In transferring data from the master disk controller unit to the remote disk controller unit, when a plurality of data are transferred at the same time, the identifiers (device numbers) provided to the data must be separated in order to identify the data each other. Now, suppose that a plurality of writes with a target device number 0 from the host CPU subject to queuing in the queue 18. In the prior art, write data corresponding to the data control information 93 a and 93 b has different target device numbers, and can identify the data each other on the interface 14 between master and remote disk controller units and transfer the data at the same time. Write data corresponding to data control information 93 c. 93 d and 93 e has the same target device number of the data control information 93 a, and cannot be transferred at the same time. The data must be sent sequentially one by one with a different timing. The transfer time is thus increased. On the other hand, when the present invention is used, the data control information 93 a and 93 b, 93 c, 93 d, and 93 e of the same target write data with a device number 0 in the queue 18 are respectively unified to other units 94 a, 94 b, 94 c and 94 d of data transmitting to the target storage system. Further, a device number 0 different from the number manage system of the device number accessed from the host CPU is allocated to the unit 94 a of data transmitting to the target storage system, a device number 1 is allocated to the unit 94 b of data transmitting to the target storage system, a device number 2 is allocated to the unit 94 c of data transmitting to the target storage system, and a device number 3 is allocated to the unit 94 d of data transmitting to the target storage system. As a result, the different device numbers are allocated to the units of data transmitting to the target storage system so as to be identified each other. The units of data transmitting to the target storage system can be transferred at the same time, and can be multiplex-transferred. Efficient transfer can be done as compared with the prior art.

[0036]FIG. 5 is a scheduling example to reduce overhead of data transfer. Data control information 95 a, data control information 95 b, data control information 95 c, data control information 95 d, and data control information 95 e of different target write data with a device number 0, a device number 1, a device number 2, a device number 3, and a device number 4, respectively, in the queue 18 are unified to one unit 96 of data transmitting to the target storage system. The unit 96 of data transmitting to the target storage system is transferred as a device number 0 belonging to the number manage system not dependent on (or managed separately) the device number when the host CPU accesses the logical volume. As a result, in the prior art, overhead (five times in the example of FIG. 5) with transfer through the channel port caused for each sending of individual data control information. By application of the present invention, the overhead can be reduced to once with transfer of the one unit 96 of data transmitting to the target storage system. Efficient transfer can be done as compared with the prior art. As in these examples, the present invention is applied to the object so as to transfer data with changed efficient scheduling.

[0037] With FIG. 6, the operation of the remote disk controller unit 4 receiving the unit 92 a of data transmitting to the target storage system will be described in detail. The section 21 of processing data from the source storage system divides the received unit 92 a of data transmitting to the target storage system and a plurality pieces of data control information 91 a, 91 b and 91 c before being unified by the scheduling processing, and stores them into the cache memory 10 together with corresponding write data 10 a, 100 b and 100 c, respectively.

[0038] The section 24 of writing data to disk drive writes the write data 100 a corresponding to the data control information 91 a into a device 101 a in the remote disk unit 5 specified by the target device number specified by the host CPU in the data control information 91 a asynchronous to storing to the cache memory 10 by the section 21 of processing data from the source storage system. Similarly, the data control information 91 b writes the write data 100 b into a device 101 b, and the data control information 91 c writes the write data 100 c into a device 101 c.

[0039] As described above, according to the controlling method not dependent on a device of this embodiment, can be unified as the unit of data transmitting to the target storage system irrespective of the device number corresponding to the logical device in the remote disk unit 5. In is possible to transfer write data having the same device number corresponding to the logical device in the remote disk unit 5 as separate units of data transmitting to the target storage system, or as a unit of data transmitting to the target storage system unifying write data having different device numbers corresponding to the logical device in the remote disk unit 5. After transferring data, data can be written into a target device in the remote disk unit 5.

[0040] According to the present invention, in the process in which write data received from the host CPU is passed to the target external storage controller unit, a processing independently of the processing using the device number specified from the host CPU is done. The limitations of transferring data to the target storage subsystem can be reduced.

[0041] In addition, a different number is allocated to each of a plurality of writes to a device having the same number. Multiple processing can be done in transfer to the target storage subsystem.

[0042] Further, write data to a plurality of devices having different targets can be unified for transfer. Overhead for transfer can be reduced. 

What is claimed is:
 1. A storage system connected to a host CPU and having a storage device unit for storing data of said host CPU and a storage controller unit for controlling said storage device unit, comprising: means for unifying a plurality of write requests from said host CPU to one unit of data transmitting to the target storage system; and means for allocating, to said unit of data transmitting to the target storage system, a second number not dependent on a first number when said host CPU specifies the target in the storage system so as to send the unit to another storage system.
 2. The storage system according to claim 1, wherein said first number unifies a plurality of the same write requests to different units of data transmitting to the target storage system so as to allocate said different second number to each of them.
 3. The storage system according to claim 1, wherein a plurality of write requests having said different first number is unified to one unit of data transmitting to the target storage system.
 4. A method for data transfer between storage systems having a source storage system connected to a host CPU and provided with a source storage device unit for storing data of said host CPU and a source storage controller unit for controlling said storage device unit, and a target storage system provided with a target storage device unit for storing said data received from said source storage system and a source storage controller unit for controlling said target storage device unit, comprising the steps of: receiving a plurality of write data from said host CPU; unifying said plurality of write data to one unit of data transmitting to the target storage system; allocating, to said unit of data transmitting to the target storage system, an identifier not dependent on the identifier when said host CPU specifies the target of write data in said source storage system; and sending, to said target storage system, said unit of data transmitting to the target storage system to which said non-dependent identifier is allocated.
 5. The method for data transfer between storage systems according to claim 4, comprising a step for writing a plurality of write data received in said unit of data transmitting to the target storage system into said target storage device unit in accordance with said identifier for specifying a target. 